package core.communication.message;

import java.util.List;

import com.google.common.collect.Lists;

public class VotersPackageMessage extends Message {
	private static final long serialVersionUID = -3165180446554186002L;

	private List<String> votersIds;
	private Long electionIdentificationField;

	public VotersPackageMessage(Long electionIdentificationField) {
		super();
		setPriority(MessagePriority.NORMAL);
		setMessageType(MessageType.VotersPackage);
		setDirection(Direction.UP);
		this.electionIdentificationField = electionIdentificationField;
		this.votersIds = Lists.newArrayList();
	}

	public List<String> getVotersIds() {
		return votersIds;
	}

	public Long getElectionIdentificationField() {
		return electionIdentificationField;
	}
}
